public class dome004 {
    public static void main(String[] args) {
        int a=78;
        String level=a<60?"不及格":"及格";
        System.out.println(level);
        level=a<60?"不及格":a<90?"及格":"优秀";
        System.out.println(level);
        int b=60;
        int c=80;
        int d=100;
        System.out.println(b>c?b:c);
        System.out.println(b > c ? b >d ? b : d : c > d ? c : d);
    }
}
